{include file="common/header.html"}
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/common.js" type="text/javascript"></script>
<meta name="robots" content="none">

</head>

<body id="nv_member"  >
<div id="wp" class="wp"> 
	<div class="contentmanage">
        <div class="tableContent">
            <div class="content">
                <div class="cLineB">
                    <h4 class="left">图文关键字管理</h4>
	                    <a href="admin.php?m=tuwen&a=add" class="right btnGrayS vm">添加图文关键字</a>
                    <div class="clr"></div> 
                </div>
                <div class="cLineB">
                    <form method="get" action="admin.php">
                        <input type="hidden" name="m" value="tuwen">
                        <input class="px" id="keyword" name="keyword" placeholder="请输入关键字" value="{$smarty.get.title}">
                        <input type="submit" value="搜索" id="msgSearchBtn" href="" class="btnGrayS" title="搜索">
                    </form>
                </div>
                <div class="msgWrap">
                    <table class="ListProduct" border="0" cellspacing="0" cellpadding="0" width="100%">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>关键字</th>
                                <th>图片</th>
                                <th>标题</th>
                                <th>更新时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>           
						{foreach item=t from=$list}
						<tr>
						    <td align="center">{$t.id}</td>
						    <td align="center">{$t.keyword}</td>
						    <td align="center"><img style="width:100px;" src="{$t.picurl}" class="imgf1"></td>
						    <td align="center">{$t.title}</td>
						    <td align="center">{$t.update_time}</td>
						    <td align="center">
						    	<a href="admin.php?m=tuwen&a=add&id={$t.id}" class="btnGrayS">编辑</a>
						    	<a href="javascript:;" onclick='if (confirm("确定要删除吗？")){ self.location.href = "admin.php?m=tuwen&a=del&id={$t.id}";}' class="btnGrayS">删除</a>
							</td>
						</tr>
						{/foreach}
						{if $pagelist}
						<tr>
						<td colspan="5">{$pagelist}</td>
						</tr>
						{/if}
                        
                     </tbody>
                    </table>
                </div>
                <div class="cLine">
                    <div class="pageNavigator right">
                        <div class="pages"></div>
                    </div>
                    <div class="clr"></div>
                </div>
            </div>
            <div class="clr"></div>
        </div>
    </div>
</div>
<!--底部-->


 </body></html>